package com.fs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业认证管理对象 agency_certification_audit
 * 
 * @author csq
 * @date 2024-10-17
 */
public class AgencyCertificationAudit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonSerialize(using = ToStringSerializer.class)//解决vue数值超过16位数字后精度丢失问题
    private Long id;

    /** 机构id */
    private Long serveProviderId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String name;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String idNumber;

    /** 法人姓名 */
    @Excel(name = "法人姓名")
    private String legalPersonName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String legalPersonIdCardNo;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String businessLicense;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long auditStatus;

    /** 审核人id */
    private Long auditorId;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditorName;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 认证状态 */
    @Excel(name = "认证状态")
    private Long certificationStatus;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String rejectReason;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServeProviderId(Long serveProviderId) 
    {
        this.serveProviderId = serveProviderId;
    }

    public Long getServeProviderId() 
    {
        return serveProviderId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setLegalPersonName(String legalPersonName) 
    {
        this.legalPersonName = legalPersonName;
    }

    public String getLegalPersonName() 
    {
        return legalPersonName;
    }
    public void setLegalPersonIdCardNo(String legalPersonIdCardNo) 
    {
        this.legalPersonIdCardNo = legalPersonIdCardNo;
    }

    public String getLegalPersonIdCardNo() 
    {
        return legalPersonIdCardNo;
    }
    public void setBusinessLicense(String businessLicense) 
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense() 
    {
        return businessLicense;
    }
    public void setAuditStatus(Long auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public Long getAuditStatus() 
    {
        return auditStatus;
    }
    public void setAuditorId(Long auditorId) 
    {
        this.auditorId = auditorId;
    }

    public Long getAuditorId() 
    {
        return auditorId;
    }
    public void setAuditorName(String auditorName) 
    {
        this.auditorName = auditorName;
    }

    public String getAuditorName() 
    {
        return auditorName;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }
    public void setCertificationStatus(Long certificationStatus) 
    {
        this.certificationStatus = certificationStatus;
    }

    public Long getCertificationStatus() 
    {
        return certificationStatus;
    }
    public void setRejectReason(String rejectReason) 
    {
        this.rejectReason = rejectReason;
    }

    public String getRejectReason() 
    {
        return rejectReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serveProviderId", getServeProviderId())
            .append("name", getName())
            .append("idNumber", getIdNumber())
            .append("legalPersonName", getLegalPersonName())
            .append("legalPersonIdCardNo", getLegalPersonIdCardNo())
            .append("businessLicense", getBusinessLicense())
            .append("auditStatus", getAuditStatus())
            .append("auditorId", getAuditorId())
            .append("auditorName", getAuditorName())
            .append("auditTime", getAuditTime())
            .append("certificationStatus", getCertificationStatus())
            .append("rejectReason", getRejectReason())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
